package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 料仓  自建-混凝土-料仓业务对象 zj_hnt_material_store
 *
 * @author yhy
 * @date 2023-09-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjHntMaterialStoreBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 料仓编号
     */
    @NotNull(message = "料仓编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialStoreNumber;

    /**
     * 拌合站名称
     */
    @NotBlank(message = "拌合站名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stationName;

    /**
     * 配比名称
     */
    @NotBlank(message = "配比名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchingName;

    /**
     * 料仓名称
     */
    @NotBlank(message = "料仓名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialStoreName;

    /**
     * 料仓类型
     */
    @NotBlank(message = "料仓类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialStoreType;

    /**
     * 关联部门代表
     */
    @NotBlank(message = "关联部门表ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String identifier;

    //上限
    private Double upperLimit;
    //下限
    private Double lowerLimit;
}
